import store from '@/store/index'
export default {
  methods: {
    // sayHi() {
    //   alert('111')
    // }
    checkBtnPermission(str) {
      const roles = store.state.user.userInfo.roles
      if (roles && roles.points) {
        return roles.points.includes(str)
      } else {
        return false
      }
    }
  }

}
